﻿namespace StreetPacMan.Server
{
    public enum PlayerState
    {
        JoinedDisabled=0,
        JoinedActivePlaying=1,
        JoinedEatenNotPlaying=2
    }
    public enum PlayerRole
    {
        PacMan=1,
        Ghost=2,
        Observer=3
    }

    public enum AppleKind
    {
        Normal=0,
        Super=1,
        Cherry=2
    }

    public enum AppleState
    {
        Inactive=0,
        Active=1,
        RemovedEaten=2,
        RemovedTimeout=3,
    }

    public enum GameState
    {
        Created=0,
        WaitingForMorePlayersToJoin=1,
        Started=2,
        WatingForNextPacManToStart=3,
        GameOver=4,
        SuperPacMan=5
    }

    public enum EventType
    {
        GameCreated,
        PlayerJoined,
        PlayerPolledServer,
        PacManAteApple,
        PacManAteGhost,
        GhostAtePacMan,
        GameStateIsSuperPacMan,
        GameStateIsNormalPacMan,
        GameEnded,
        ExplicitMessageSent,
        PlayerLocationCorrected
    }
}